var ec_left1 = echarts.init(document.getElementById("l1"),"dark");

var option_left1 = {
    backgroundColor: '#010b33',
    toolbox: {
        feature: {
            dataZoom: {
                yAxisIndex: 'none'
            },
            restore: {},
            saveAsImage: {}
        }
    },

    tooltip: {
        trigger: 'axis',
        position: function (pt) {
            return [pt[0], '10%'];
        }
    },
    dataZoom: [{
        start: 0,
        end: 100
    }],
    title: {
      		text: '电压（最后一万数据点（静态））',
      		// subtext: '模拟数据',
      		// x: 'center',
			textStyle: {

			},
			left: 'left'
      	},
    xAxis: {
        name:'us',
        data: []
    },
    yAxis: {
        name:'V',
        type: 'value'
    },
    series: [{
        name: '电压',
        data: [],
        type: 'line',
        smooth: true
    }]
};

ec_left1.setOption(option_left1);
